package com.firefly.admin.tripartite.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.firefly.admin.common.vo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.Date;

@Data
@ToString
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "FyTripartiteWechatApplet", description = "第三方微信小程序配置信息")
public class FyTripartiteWechatApplet extends BaseEntity {

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "小程序ID")
    private Long appletId;

    @ApiModelProperty(value = "小程序名称")
    private String appletName;

    @ApiModelProperty(value = "小程序图标")
    private String appletIcon;

    @ApiModelProperty(value = "小程序APPID")
    private String appId;

    @ApiModelProperty(value = "小程序秘钥")
    private String appletSecret;

    @ApiModelProperty(value = "小程序TOKEN")
    private String appletToken;

    @ApiModelProperty(value = "小程序状态 1：启用 0：停用")
    private String appletStatus;

    @ApiModelProperty(value = "商户配置ID")
    private Long merchantConfigId;
}
